$OpenBSD: patch-gtk_gtktypeutils_h,v 1.1 2011/07/17 15:39:50 naddy Exp $

Fix LP64 warnings.

--- gtk/gtktypeutils.h.orig	Sun Jul 17 16:46:12 2011
+++ gtk/gtktypeutils.h	Sun Jul 17 16:46:40 2011
@@ -86,7 +86,7 @@ typedef enum
 #ifdef offsetof
 #define GTK_STRUCT_OFFSET(struct, field)        ((gint) offsetof (struct, field))
 #else /* !offsetof */
-#define GTK_STRUCT_OFFSET(struct, field)        ((gint) ((gchar*) &((struct*) 0)->field))
+#define GTK_STRUCT_OFFSET(struct, field)        ((gint) (size_t) ((gchar*) &((struct*) 0)->field))
 #endif /* !offsetof */
 
 
